<template>
    <Home />
	<br />
	<br />
	<br />
	<User />
</template>

<script>
	//1.引入组件
	import Home from './components/Home'
	import User from './components/User'
	
export default {
	data() {
		return {
			msg: "app跟组件"
		};
	},
	components: {  //2.挂载组件
		Home,
		User
	}
}
</script>

<style lang="scss">
	h2 {
		text-align: center;
	}
</style>
